package com.xdf.xzymanagementsystem;

import com.xdf.xzymanagementsystem.config.AlarmThreadPoolConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@EnableConfigurationProperties({AlarmThreadPoolConfig.class} ) // 开启配置属性支持
@SpringBootApplication
@EnableCaching
@MapperScan(value = "com.xdf.xzymanagementsystem.dao")
@EnableAspectJAutoProxy
public class XzyManagementSystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(XzyManagementSystemApplication.class, args);
    }
}
